package com.example.check_in.mapper;

import com.example.model.check_in.CheckIn;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckInMapper {

    int enterInfo(CheckIn checkIn);

    int makePayment(CheckIn checkIn);

    List<CheckIn> list(CheckIn checkIn);

    List<CheckIn> listByDate(String checkInDate);

    int delete(Long id);

    CheckIn get(Long id);

    List<CheckIn> checkOutList();

    List<CheckIn> isEnable(Long roomId, String checkInDate);


}
